// 登录相关接口
import $axios from '@/utils/request'

/**
 * @description: 登录
 * @param { mobile: '手机号', code：'密码' }
 * @return {*}
 */

export const login = (data) => {
  return $axios({
    url: '/mp/v1_0/authorizations',
    method: 'POST',
    data
  })
}
